package com.by.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * date 2025/2/14 16:44
 * author bjj
 * decoration
 * version 1.0
 * since jdk11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("接口统一返回数据")
public class ResultBean<T> {
    @ApiModelProperty("状态码 200正常 0 失败")
    int code;
    @ApiModelProperty("返回信息描述")
    String msg;
    @ApiModelProperty("返回数据")
    T data;
}
